package per.mnxc.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author mnxc
 * @since 2022-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tbl_tip")
public class Tip implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 举报id
     */
    @TableId(value = "TipID", type = IdType.AUTO)
    private Long tipId;

    /**
     * 举报类型
     */
    @TableField("TipType")
    private String tipType;

    /**
     * 举报原因
     */
    @TableField("TipReason")
    private String tipReason;

    /**
     * 举报内容为截图(存地址)
     */
    @TableField("TipCont")
    private String tipCont;

    /**
     * 举报用户id
     */
    @TableField("TipUserID")
    private Long tipUserid;

    /**
     * 被举报用户id
     */
    @TableField("ReportedUserID")
    private Long reportedUserid;

    /**
     * 举报时间
     */
    @TableField("TipTime")
    private LocalDateTime tipTime;

    /**
     * 是否被管理员处理过
     */
    @TableField("isManage")
    private Boolean isManage;

    /**
     * 对应的帖子id
     */
    @TableField("LunchID")
    private Long lunchId;

    /**
     * 对应的留言id
     */
    @TableField("MassageID")
    private Long massageId;

    @TableLogic
    private Integer deleted;

    @Version
    private Integer version;


}
